package test3_14.MyTime;

public class Homework7_7_MyTime {
    public static void main(String[] args) {

        MyTime myTime = new MyTime(1,43,19);
        myTime.display();
        myTime.addSecond(2000);
        myTime.display();
        myTime.addMinute(30);
        myTime.display();
        myTime.addHour(2);
        myTime.display();
        //myTime.subSecond(50);
        myTime.display();
        myTime.subMinute(30);
        myTime.display();
        myTime.subHour(5);
        myTime.display();
    }
}
